package com.yingwei.mining.control;

import java.awt.Color;

public class Constant
{
    public final static String EXCAVATOR_STATUS_IDLE = "IDLE";
    public final static String EXCAVATOR_STATUS_BUSY = "BUSY";
    public final static String EXCAVATOR_STATUS_INACTIVE = "INACTIVE";

    public final static String UNLOAD_AREA_STATUS_IDLE = "IDLE";
    public final static String UNLOAD_AREA_STATUS_BUSY = "BUSY";
    public final static String UNLOAD_AREA_STATUS_INACTIVE = "INACTIVE";

    public final static String TRUCK_STATUS_LOAD = "LOAD";
    public final static String TRUCK_STATUS_MOVE_TO_UNLOAD = "MOVE_TO_UNLOAD";
    public final static String TRUCK_STATUS_WAIT_UNLOAD = "WAIT_UNLOAD";
    public final static String TRUCK_STATUS_UNLOAD = "UNLOAD";
    public final static String TRUCK_STATUS_MOVE_TO_LOAD = "MOVE_TO_LOAD";
    public final static String TRUCK_STATUS_WAIT_LOAD = "WAIT_LOAD";
    public final static String TRUCK_STATUS_WAIT_INSTRUCTION = "WAIT_INSTRUCTION";
    public final static String TRUCK_STATUS_SPECIAL_TASK = "SPECIAL_TASK";
    public final static String TRUCK_STATUS_INACTIVE = "INACTIVE";

    public final static String WORK_ORDER_STATUS_SCHEDULED = "SCHEDULED";
    public final static String WORK_ORDER_STATUS_EXPIRED = "EXPIRED";
    public final static String WORK_ORDER_STATUS_FINISHED = "FINISHED";

    public final static Color COLOR_LOAD = Color.cyan;
    public final static Color COLOR_UNLOAD = Color.blue;
    public final static Color COLOR_MOVE_TO_LOAD = Color.green;
    public final static Color COLOR_MOVE_TO_UNLOAD = Color.red;
    public final static Color COLOR_WAIT_LOAD = Color.yellow;
    public final static Color COLOR_WAIT_UNLOAD = Color.pink;
    public final static Color COLOR_WAIT_INSTRUCTION = Color.magenta;
    public final static Color COLOR_INACTIVE = Color.gray;

    public final static Color fixedColor = Color.red;
    public final static Color selectColor = Color.blue;
    public final static Color edgeColor = Color.red;
    public final static Color trackingRuleColor = Color.red;
    public final static Color nodeColor = new Color(125, 122, 100);
    public final static Color stressColor = Color.darkGray;
    public final static Color arcColor1 = Color.black;
    public final static Color arcColor2 = Color.pink;
    public final static Color arcColor3 = Color.red;
    public final static Color excavatorColor = Color.red;
    public final static Color unloadAreaColor = Color.green;
    public final static Color truckColor = Color.cyan;
    public final static Color trackingColor = Color.darkGray;

    public final static Color BACKGROUND_COLOR = Color.gray;
    public final static Color TEXT_COLOR = Color.black;

    public final static String TASKTYPE_VALID = "valid";
    public final static String TASKTYPE_INVALID = "invalid";
    public final static String TASKTYPE_UNDEFINED = "undefined";

    public final static int SCALE_MAX_MM_PER_PIXEL  = 20000;
    public final static int SCALE_MIN_MM_PER_PIXEL  = 200;
    public final static int SCALE_STEP_MM_PER_PIXEL  = 200;
    
    public final static int TRACKING_RULE_SIZE = 15;
}
